package com.edu.mapper;

import com.edu.bean.Book;

import java.util.List;

public interface BookMapper {
    List<Book> selectAllBooks();

    int insertBook(Book book);

    Book selectBookByName(String bookName);

    List<Book> selectBooks(Book book);

    int deleteBookByBookId(int bookId);

    int updateBookByBookId(Book book);
}
